<template>
  <Footer>
    <div class="footer" :style="{ backgroundColor: color }">
    </div>
  </Footer>
</template>

<script>
export default {
  name: 'MyFooter',
  props: {
    color: {
      type: String,
      default: '#1c449c'
    }
  }
}
</script>

<style scoped>
.footer {
  /*position: fixed; !* 使用固定定位 *!*/
  bottom: 0;
  width: 100%;
  height: 75px;
}
</style>
